package com.jsu.springboot_crop.entity;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * @Author wang
 * @Date 2023/8/25 16:22
 */
@Data
public class Finance {
    private Integer financeId;//id
    private Integer bankId;//银行id
    private String ownName;//用户名
    private String realName;//真实姓名
    private String phone;//
    private String idNum;//
    private Integer status;//状态
    private String remark;//备注
    @NotEmpty(message = "金额不能为空")
    private double money;//融资金额
    @NotEmpty(message = "利率不能为空")
    private double rate;//年利率
    @NotEmpty(message = "还款周期不能为空")
    private Integer repayment;//还款期限
    private Date createTime;//创建时间
    private Date updateTime;//更新时间
    private String combinationName1;
    private String combinationPhone1;
    private String combinationIdNum1;
    private String combinationName2;
    private String combinationPhone2;
    private String combinationIdNum2;
    private String combinationName;
    private String fileInfo;

    //private Bank bank;
}
